@charset "utf-8";

@import "common/reset";
@import "common/iconfont";

body{
    background: #f4f4f4;
}

.web_wrap {
    width: 100%;
    overflow: hidden;
}

header {
    width: 100%;
    .nav {
        display: flex;
        position: relative;
        height: 44px;
        background: #31c27c;
        justify-content: space-between;
        align-items: center;
    }
    
    .i_wrap {
        display: block;
        width: 90px;
        height: 25px;
        background-image: url(../images/logo.png);
        background-size: cover;
        background-repeat: no-repeat;
        margin-left: 2.5%;
    }
    
    .down_link {
        text-decoration: none;
        height: 28px;
        padding: 0 12px;
        line-height: 28px;
        border-radius: 99px;
        font-size: 14px;
        background: #149c5a;
        color: #fff;
        margin-right: 2.5%;
    }
    
    .sele {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        &>a {
            flex: 1;
            position: relative;
            display: block;
            height: 40px;
            line-height: 40px;
            overflow: hidden;
            text-align: center;
            font-size: 16px;
            color: rgba(0, 0, 0, .6);
        }
        .current {
            color: #31c27c;
            &::after {
                content: "";
                display: block;
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 2px;
                background: #31c27c;
            }
        }
    }
}


.content {
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling:touch;
    display: none;
    .swiper-container {
        width: 100%;
        height: 150px;
        margin-bottom: 14px;
        .swiper-slide {
            img {
                width: 100%;
            }
        }
        .swiper-pagination-bullet {
            background: #000;
            opacity: .5;
        }
        .swiper-pagination-bullet-active {
            background: #fff;
            opacity: 1;
        }
    }
    .radio_wrap {
        margin: 0 auto;
        width: 96%;
        .list_title {
            font-size: 16px;
            color: #000;
            margin-bottom: 11px;
            font-weight: normal;
        }
        .list_container {
            overflow: hidden;
            margin-right: -8px;
        }
        .list_container li {
            float: left;
            width: 50%;
            padding-right: 8px;
            margin-bottom: 10px;
            overflow: hidden;
        }
        .list_main {
            display: block;
            background: #fff;
        }
        .list_media .icon_bofang,
        .list_media .icon_listen {
            background-image: url(../images/list_sprite.png);
            background-repeat: no-repeat;
            background-size: 24px 60px;
        }
        .list_media .icon_bofang,
        .list_media .listen_count {
            position: absolute;
            display: block;
            z-index: 10;
        }
        .list_tit, .list_text {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: normal;
            font-size: 12px;
        }
        .list_media {
            position: relative;
            margin-bottom: 5px;
            &::before {
                content: "";
                display: block;
                padding-top: 100%;
            }
            img {
                position: absolute;
                top: 0;
                left: 0;
                display: block;
                width: 100%;
                z-index: 1;
            }
            .icon_bofang {
                font-size: 16px;
                height: 24px;
                bottom: 5px;
                right: 5px;
                width: 24px;
                background-position: 0 0;
            }
        }
        .list_info {
            padding: 0 7px 5px;
            color: #000;
            .list_tit {
                height: 36px;
                line-height: 18px;
                white-space: normal;
                word-wrap: break-word;
                font-size: 14px;
            }
        }
    }
    .hot_music{
        margin: 0 auto;
        width: 96%;
        .list_title {
            font-size: 16px;
            color: #000;
            margin-bottom: 11px;
            font-weight: normal;
        }
        .list_media .icon_bofang,
        .listen_count .icon-listen {
            background-image: url(../images/list_sprite.png);
            background-repeat: no-repeat;
            background-size: 24px 60px;
        }
        .list_media .icon_bofang,
        .list_media .listen_count {
            position: absolute;
            display: block;
            z-index: 10;
        }
        .list_tit, .list_text {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: normal;
            font-size: 12px;
        }
        .list_container {
            overflow: hidden;
            margin-right: -8px;
            & > li {
                box-sizing: border-box;
                float: left;
                width: 50%;
                padding-right: 8px;
                margin-bottom: 10px;
                overflow: hidden;
                .list_main {
                    display: block;
                    background: #fff;
                }
                .list_media {
                    position: relative;
                    margin-bottom: 5px;
                    &::before {
                        content: "";
                        display: block;
                        padding-top: 100%;
                    }
                    img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        display: block;
                        width: 100%;
                        z-index: 1;
                    }
                    .listen_count {
                        left: 5px;
                        bottom: 7px;
                        display: block;
                        line-height: 12px;
                        color: #fff;
                        font-size: 10px;
                    }
                    .icon-erji {
                        font-size: 12px;
                        display: block;
                        float: left;
                        width: 10px;
                        height: 10px;
                        background-position: 0 -50px;
                        margin-right: 5px;
                    }
                    .icon_bofang {
                        font-size: 16px;
                        height: 24px;
                        bottom: 5px;
                        right: 5px;
                        width: 24px;
                        background-position: 0 0;
                    }
                }
                .list_info {
                    padding: 0 7px 5px;
                    color: #000;
                }
                .list_tit {
                    font-size: 14px;
                }
                .list_text {
                    font-size: 12px;
                }
            }
        }
        .list_more {
            height: 40px;
            line-height: 40px;
            text-align: center;
            & > a {
                display: inline-block;
                padding: 0 10px;
                font-size: 14px;
                color: rgba(0,0,0,.6);
            }
        }
    }
}

footer{
    padding: 15px 0;
    .version_tab {
        text-align: center;
        margin-bottom: 16px;
        a {
            position: relative;
            display: inline-block;
            padding: 0 15px;
            font-size: 14px;
            height: 14px;
            line-height: 14px;
            color: #000;
        }
    }
    .footer_logo {
        display: block;
        width: 82px;
        height: 24px;
        margin: 0 auto 10px;
        background-image: url(../images/logo_footer.png);
        background-repeat: no-repeat;
        background-size: cover;
        text-indent: -9999px;
    }
    .copyright {
        font-size: 10px;
        text-align: center;
        color: rgba(0,0,0,.5);
    }
}

//排行榜

.ranking_list{
    margin: 10px auto 0 auto;
    width: 96%;
    display: none;
    .ranking_l_wrap li {
        margin-bottom: 10px;
        overflow: hidden;
        .topic_main {
            display: flex;
            background: #fff;
            .topic_media {
                position: relative;
                width: 100px;
                height: 100px;
                display: block;
                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                }
                .listen_count {
                    position: absolute;
                    display: block;
                }
                .listen_count {
                    left: 5px;
                    bottom: 7px;
                    line-height: 12px;
                    color: #fff;
                    opacity: .6;
                    font-size: 10px;
                    z-index: 10;
                    .icon_erji {
                        background-image: url(../images/list_sprite.png);
                        background-repeat: no-repeat;
                        background-size: 24px 60px;
                        z-index: 10;
                    }
                    .icon_erji {
                        display: block;
                        float: left;
                        width: 10px;
                        height: 10px;
                        background-position: 0 -50px;
                        margin-right: 3px;
                    }
                }
                &::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    height: 100px;
                    z-index: 1;
                    background-image: url(../images/shadow_rp_b.png);
                    background-size: 1px 117px;
                    background-repeat: repeat-x;
                }
            }
            .topic_tit,.topic_cont p {
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
            .topic_info {
                position: relative;
                flex: 1;
                display: flex;
                justify-content: center;
                align-items: center;
                .topic_cont {
                    flex: 1;
                    margin: 0 10px 0 15px;
                    width: 235px;
                     p {
                        font-size: 14px;
                        color: rgba(0,0,0,.5);
                    }
                    .text_name {
                        color: #000;
                        margin-left: 8px;
                        margin-right: 5px;
                    }
                }
                .topic_tit {
                    font-size: 16px;
                    color: #000;
                    font-weight: normal;
                    margin-bottom: 5px;
                }
            }
        }
        .topic_arrow {
            position: absolute;
            right: 10px;
            top: 50%;
            margin-top: -4px;
            width: 6px;
            height: 6px;
            border-right: 1px solid #b2b2b2;
            border-bottom: 1px solid #b2b2b2;
            -webkit-transform: rotate(-45deg);
        }
    }
    .topic_more {
        height: 40px;
        line-height: 40px;
        text-align: center;
        a {
            display: inline-block;
            padding: 0 10px;
            font-size: 14px;
            color: rgba(0,0,0,.6);
        }
    }
}
//结束

//搜索页
.seach_wrap{
    display: none;
    .mod_search_bar {
        background: #f4f4f4;
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        .search_bar_cont {
            position: relative;
            border-radius: 3px;
            background: #fff;
            height: 35px;
            padding: 8px 12px 8px 35px;
            flex: 1;
        }
        form{
        }
        .search_input {
            height: 20px;
            line-height: 20px;
            width: 100%;
            color: rgba(0,0,0,.3);
            border: none;
            -webkit-appearance: textfield;//使某元素看上去像一个(按钮，文本框，具体看样式属性)
            font-size: 14px;
        }
        .icon_search {
            position: absolute;
            top: 9px;
            left: 10px;
            width: 18px;
            height: 18px;
            background-image: url(../images/seach.png);
            background-repeat: no-repeat;
            background-size: cover;
            text-indent: -999px;
        }
        .icon_delete {
            display: none;
            position: absolute;
            top: 9px;
            right: 12px;
            width: 18px;
            height: 18px;
            background: #b1b1b1;
            text-indent: -9999px;
            border-radius: 99px;
        }
        .search_bar_tip_text {
            padding-right: 10px;
            padding-left: 10px;
            font-size: 14px;
            height: 36px;
            line-height: 36px;
        }
        .search_bar_tip_text{
            display: none;
        }
    }
    .mod_search_result {
        background: #fff;
        padding: 15px 15px 10px 15px;
        .result_tit {
            font-size: 10px;
            color: rgba(0,0,0,.6);
            margin-bottom: 8px;
        }
        .result_tags {
            font-size: 0;
        }
        .tag_s {
            display: inline-block;
            font-size: 14px;
            padding: 0 10px;
            height: 30px;
            line-height: 30px;
            color: #000;
            border: 1px solid rgba(0,0,0,.6);
            border-radius: 99px;
            word-break: keep-all;
            margin-bottom: 10px;
            margin-right: 14px;
        }
        .tag_hot {
            color: #fc4524;
            border-color: #fc4524;
        }
    }
}
//结束

.content_open{
    display: block;
}